using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using AsNum.MySecret.Entity.Database.TableType;

namespace AsNum.MySecret.Entity.Database.SP {    
	/// <summary>
	/// SP : dbo.SendMsg
	/// 发送消息
	/// </summary>
	[Serializable]
	[DataContract]
    public class SendMsgEntity {

			

		
		/// <summary>
		/// 消息标题
		/// dbo.SendMsg.@Title
		/// </summary>
		[DataMember]
		public string Title{
			get;set;
		}
					

		
		/// <summary>
		/// 消息内容
		/// dbo.SendMsg.@Ctx
		/// </summary>
		[DataMember]
		public string Ctx{
			get;set;
		}
					

		
		/// <summary>
		/// 用户ID
		/// dbo.SendMsg.@UserID
		/// </summary>
		[DataMember]
		public int UserID{
			get;set;
		}
					

		
		/// <summary>
		/// 发消息的IP
		/// dbo.SendMsg.@FromIP
		/// </summary>
		[DataMember]
		public long FromIP{
			get;set;
		}
					

		
		/// <summary>
		/// 发消息的内网IP，用于扩展
		/// dbo.SendMsg.@IntranetIP
		/// </summary>
		[DataMember]
		public long IntranetIP{
			get;set;
		}
					

		
		/// <summary>
		/// 是否公开
		/// dbo.SendMsg.@IsPublic
		/// </summary>
		[DataMember]
		public bool IsPublic{
			get;set;
		}
					

		
		/// <summary>
		/// 消息接收者，表变量
		/// dbo.SendMsg.@Receiver
		/// </summary>
		[DataMember]
		public List<TMessageReceiverEntity> Receiver{
			get;set;
		}
			
	}
}
